<h1>Listing measures</h1>
<p>
	<%= link_to 'New measure', new_measure_path %>	
</p>
<table>
  <tr>
    <th>Unit</th>
	<th>Action</th>
  </tr>

<% for measure in @measures %>
  <tr class="<%= cycle("even", "odd") %>">
    <td><%=h measure.unit %></td>
    <td>
		<%= link_to image_tag("edit.gif"), edit_measure_path(measure) %>
		<%= link_to image_tag("delete.gif"), measure, :confirm => 'Are you sure?', :method => :delete %>
	</td>
  </tr>
<% end %>
</table>
